package com.xiaoma.impl;

import com.xiaoma.api.HelloObject;
import com.xiaoma.api.HelloService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * @Author: xiaoma
 * @Date: 2021/7/5 14:03
 * @description:
 */
public class NettyServiceImpl implements HelloService {
    private static final Logger logger = LoggerFactory.getLogger(NettyServiceImpl.class);
    @Override
    public String hello(HelloObject object) {
        System.out.println(object);
        return "使用netty的返回值" + object;
    }
}
